<?php

    $subEvents = $dbio->read . ucfirst($sub) . ($id);
    
    $locations = $dbio->listLocation($eventId);
    $guestLists = $dbio->listGuestList($eventId);
    $guests = $dbio->listGuestList($eventId, $guestList->getId());
    $polls = $dbio->listSubEventPoll($eventId, $subEventId);
    $vendors = $dbio->listSubEventVendor($eventId, $subEventId);
    
?>